package org.example.myframework.frame.demo.service.impl;

import org.example.myframework.frame.demo.domain.entity.TestTable;
import org.example.myframework.frame.demo.repository.TestTableMapper;
import org.example.myframework.frame.demo.service.TestTableService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class TestTableServiceImpl implements TestTableService {

    @Resource
    private TestTableMapper testTableMapper;

    @Override
    public List<TestTable> getList() {
        return testTableMapper.queryList();
    }
}
